package com.mo.dao;






import com.mo.pojo.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;


@Mapper
public interface SysMenuDao {


    Set<String> selectUserPermissions(Integer ucode);

   @Select("select *from menu")

    List<SysMenu> selectMenus();

    @Select(" select *from menu where id=#{id}")
    SysMenu selectById(Integer id);

}
